<template>
    <VTextAttr v-if="currentElementList[0].data"></VTextAttr>
</template>

<script>
import store from '@/js/store/state.js';

export default {
    components: {
        VTextAttr: () => import('@/view/element/attribute/VTextAttr.vue')
    },
    data() {
        return {
            currentElementList: store.getCurrentElementList()
        };
    }
};
</script>